﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/head.jspf"%>   
<title>东方易云后台管理系统</title>
<style>
body { background: #f5f5f5 ;}
</style>
<script>
function addFlowActorsTemplate(){
	$('#addForm').attr("action","addFlowActorsTemplate");
	$('#addForm').submit();
}
function addFlowActorsTemplatePrev(){
	$('#addForm').attr("action","addFlowActorsTemplatePrev");
	$('#addForm').submit();
}
function addFlowActorsTemplateNext(){
	$('#addForm').attr("action","addFlowActorsTemplateNext");
	$('#addForm').submit();
}
function removeFlowActorsTemplate(actorNo){
	$('#addForm').attr("action","removeFlowActorsTemplate");
	$('#actorNo').val(actorNo);
	$('#addForm').submit();
}
</script>
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="js/pngfix.js"></script>
<![endif]-->
</head>
<body>
<form method="post" action="addFlowActorsTemplate" id="addForm">
<input type="hidden" id="actorNo" name="actorNo" value=""/>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <!-- Page Head -->
    <div id="page-title">
      <h3>企业业务流程<c:choose><c:when  test="${isEdit==null}">新建</c:when><c:otherwise>编辑</c:otherwise></c:choose>：节点信息</h3>
    </div>
    <div class="pgline"></div>
    <div class="clear"></div>
    

    <div id="page-title">
      <h4>节点信息</h4>
    </div>
    <div class="pgline"></div>
    <div class="bulk-actions align-left"><a class="button2" a href="javascript:void(0);"  onclick="addFlowActorsTemplate();">新建</a> </div>
    <div class="clear"></div>

    <div class="bulk-actions align-left"> </div>
    <div class="clear"></div>
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>节点列表</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">
          <table>
            <thead>
              <tr>
                <th>节点编号</th>
                <th>节点名称</th>
                <th>节点类型</th>
                <th>商业角色</th>
                <th>平台备注</th>
                <th>操作 </th>
              </tr>
            </thead>
          
            <tbody>
            	<c:forEach items="${dataxFlowActorsTemplateVOList}" var="dataxFlowActorsTemplateVO">
	            	<tr>
	            	<td><c:out value="${dataxFlowActorsTemplateVO.id.actorNo}"></c:out></td>
	                <td><c:out value="${dataxFlowActorsTemplateVO.actorName}"></c:out></td>
	                <td><c:out value="${optionActorTypeMap[dataxFlowActorsTemplateVO.actorType]}"></c:out></td>
	                <td><c:out value="${optionBusinessRoleMap[dataxFlowActorsTemplateVO.businessRole]}"></c:out></td>
	                <td><c:out value="${dataxFlowActorsTemplateVO.notes}"></c:out></td>
	                <td><a href="javascript:void(0);" onclick="removeFlowActorsTemplate('<c:out value="${dataxFlowActorsTemplateVO.id.actorNo}" />');">删除</a></td>
					</tr>
            	</c:forEach>
            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>    
  <div class="bulk-actions align-right">
  	<a class="button2" href="javascript:void(0);" onclick="addFlowActorsTemplatePrev();">上一步</a>
  	<a class="button2" href="javascript:void(0);" onclick="addFlowActorsTemplateNext();">下一步</a>
  </div>
    

  </div>
  <!-- End #main-content -->
</div>
</form>
</body>
</html>
